package com.ruoyi.entity.po;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 *@author CHN
 *@since 2024-12-15 11:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TChatRoomPopularity extends BaseEntity {

    private Integer id;

    /**
     * 聊天室id
     */
    private Integer roomId;


    @ApiModelProperty("成员数量")
    private Integer chatRoomMemberCount;

    @ApiModelProperty("聊天提及选手次数")
    private Integer playerMentionCount;

    public TChatRoomPopularity(Integer roomId) {
        this.roomId = roomId;
        this.chatRoomMemberCount = 0;
        this.playerMentionCount = 0;
    }

}
